package com.aaa.statistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ：晋升（js20020923@qq.com）
 * @date ：Created in 2023/3/27 11:42
 * @description：
 * @modified By：
 * @version:
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.aaa.config","com.aaa.statistics"})//写了该注解 那么默认的包扫就会失效
@MapperScan(basePackages = {"com.aaa.statistics.dao"})
@EnableTransactionManagement
@EnableFeignClients
public class StatisticsApp {
    public static void main(String[] args) {
        SpringApplication.run(StatisticsApp.class,args);
    }
}

